/**
 * 
 */
package utility;

import org.openqa.selenium.WebDriver;
/**
 * @author Young
 *
 */
public class UITest {
	WebDriver driver;

	public WebDriver getDriver() {
		return driver;
	}

	/**
	 * init test case
	 * 
	 * @param driver
	 */
	public void setDriver(WebDriver driver) {
		this.driver = driver;
	}

	public void init(WebDriver driver) {
		setDriver(driver);
	}

	/**
	 * stop webdriver
	 * 
	 * @param driver
	 */
	public void stop() {
		driver.quit();

	}

}
